package com.wsoft.system.dto;

import com.wsoft.entity.BasePage;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Author Zhang gukai
 * @Date 2024/8/29 16:09
 *
 */
@Data
public class TsDictDataDto {
    @Schema(description = "主表id")
    private Long id;
    @Schema(description = "字典id")
    private Long dictId;

    @Schema(description = "父id(树形时)")
    private Long pid;

    @Schema(description = "字典编码(字典code_自定义code)")
    private String code;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "是否启用")
    private Integer isEnable;

    @Schema(description = "图标")
    private String icon;

    private List<TsDictDataDto> children;
}
